package cn.com.sparkle.paxos.net.factory;

import java.util.concurrent.Future;

public interface NetClient {
	public Future<Boolean> connect(String ip,int port,Object connectAttachment) throws Throwable;
	public void init(String path,NetHandler netHandler) throws Throwable;
}
